package com.yangbo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author yangbo
 * @date 2019-09-06 9:27
 */
@FeignClient(name = "github-client",url = "http://10.1.3.239:12315")
public interface GithubSearchApiService {

    /**
     * 获取github上的搜索信息
     * @return
     */
    @RequestMapping(value = "/api/purchasing/1/product/list",method = RequestMethod.GET)
    String getStr();
}
